<div id="right_col">
	<div id="sidebar">
	 <ul>
		<li class='toggle_sidebar' id ="showbar" style="display: none;"><a href="#" onclick="goNarrow();">show</a></li>
		<li class='toggle_sidebar' id="hidebar"><a href="#" onclick="goWide();">hide</a></li>
	  <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("sidebar") ) : ?>   
	   	<li class="search-form"><?php include (TEMPLATEPATH . '/searchform.php'); ?></li> 
	
		<?php wp_list_categories('show_count=1&title_li=<h2>Categorii</h2>'); ?>
	   	<li>
	    	<h2>Arhiva</h2>
	    	<ul>
	     		<?php wp_get_archives('type=monthly'); ?>
	    	</ul>
	   	</li>
	   <?php if ( is_home() || is_page() ) { ?>
	   <?php wp_list_bookmarks(); ?>
	   <?php } ?>
	  <?php endif; ?>
	 </ul>
	</div><!-- end #sidebar -->
</div>